package com.zjm.find;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//用于扫描mapper
@MapperScan(basePackages = "com.zjm.find.dao")
@Configuration
//用于开启事务
@EnableTransactionManagement
@SpringBootApplication
public class FindApplication {
    public static void main(String[] args) {
        SpringApplication.run(FindApplication.class, args);
    }

}
